package com.elec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elec.domain.R;
import com.elec.domain.entity.User;

/**
 * 存储用户基本信息(User)表服务接口
 *
 * @author yu
 * @since 2024-07-05 15:11:01
 */
public interface UserService extends IService<User> {

    R add(User user);

    R delete(Long id);

    R update(User user);

    R get(Long id);

    R getList(Integer pageNum, Integer pageSize, User user);

    R getMyInfo();

    R updateMyInfo(User user);

    R login(User user);

    R register(User user);
}


